<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/5/11
  Time: 19:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    //获取项目的根路径
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>修改</title>
    <script src="${pageContext.request.contextPath}/jquery-1.12.4.js" type="text/javascript"></script>
    <link rel="stylesheet" href="<%=basePath%>/layui-v2.6.6/css/layui.css">

    <%--修改内容--%>
    <style type="text/css">
        input{
            font-size: 15px;
        }
        form{
            text-align: center;
            margin-top: 50px;

        }
        form p>span{
            display: inline-block;
            width: 100px;
        }




    </style>
</head>
<body>
<div id="box">

    <form action="<%=basePath%>LibraryServlet?czm=upd" method="post">
        <h1>修改用户信息</h1><br>
        <p><span>卡 号:</span><input type="text" id="id" name="ids" value="${requestScope.reaid}" readonly ></p><br>
        <p><span>身份证:</span><input type="text" id="idCard" name="idCards" value="${requestScope.idcard}"></p><br>
        <p><span>密 码:</span><input type="text" id="pwd" name="pwds" value="${requestScope.pwd}" ></p><br>
        <p><span>姓 名:</span><input type="text" id="names" name="namess" value="${requestScope.names}" ></p><br>
        <p><span>年 龄:</span><input type="text" id="age" name="ages" value="${requestScope.age}" ></p><br>
        <p><span>联系方式:</span><input type="text" id="phone" name="phones" value="${requestScope.phone}"></p><br>
        <p><span>余 额:</span><input type="text" id="money" name="moneys" value="${requestScope.price}"></p><br>
        <input type="submit" value="提交" class="submit">
    </form>
</div>
</body>
</html>
